package com.beiding.jsonanalyzer.flow;

/**
 * @author 丁常磊
 * @date 2022/5/13 10:19
 */

public class SelfExecuteComputeResource implements ComputeResource {


    private static final SelfExecuteComputeResource INS = new SelfExecuteComputeResource();

    public static  SelfExecuteComputeResource getInstance() {
        return INS;
    }

    @Override
    public TaskSlot getOneSlot(int hash) {
        return SelfExecuteTaskSlot.getInstance();
    }

}
